package com.ruoyi.typing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成绩对象 score
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public class Score extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成绩ID */
    private Long scoreId;

    /** 类别 */
    @Excel(name = "类别")
    private String leibie;

    /** 速度 */
    @Excel(name = "速度")
    private Long speed;

    /** 准确率 */
    @Excel(name = "准确率")
    private Long accuracy;

    /** 退格 */
    @Excel(name = "退格")
    private Long backspace;

    /** 成绩 */
    @Excel(name = "成绩")
    private Long score;

    /** 年级 */
    @Excel(name = "年级")
    private Long nianji;

    /** 班级 */
    @Excel(name = "班级")
    private Long banji;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 文章ID */
    @Excel(name = "文章ID")
    private Long articleId;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 测试时间 */
    @Excel(name = "测试时间")
    private Long testTime;

    /** 模式 */
    @Excel(name = "模式")
    private String model;

    /** 考试ID */
    @Excel(name = "考试ID")
    private Long examId;

    /** 考试名称 */
    @Excel(name = "考试名称")
    private String examName;

    /** 教育局 */
    @Excel(name = "教育局")
    private Long jiaoyujuId;
    private SysDept jiaoyuju;

    /** 集团校 */
    @Excel(name = "集团校")
    private Long jituanxiaoId;
    private SysDept jituanxiao;

    /** 学校 */
    @Excel(name = "学校")
    private Long schoolId;
    private SysDept school;

    public SysDept getJiaoyuju() {
        return jiaoyuju;
    }

    public void setJiaoyuju(SysDept jiaoyuju) {
        this.jiaoyuju = jiaoyuju;
    }

    public SysDept getJituanxiao() {
        return jituanxiao;
    }

    public void setJituanxiao(SysDept jituanxiao) {
        this.jituanxiao = jituanxiao;
    }

    public SysDept getSchool() {
        return school;
    }

    public void setSchool(SysDept school) {
        this.school = school;
    }

    public void setScoreId(Long scoreId)
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }
    public void setLeibie(String leibie) 
    {
        this.leibie = leibie;
    }

    public String getLeibie() 
    {
        return leibie;
    }
    public void setSpeed(Long speed) 
    {
        this.speed = speed;
    }

    public Long getSpeed() 
    {
        return speed;
    }
    public void setAccuracy(Long accuracy) 
    {
        this.accuracy = accuracy;
    }

    public Long getAccuracy() 
    {
        return accuracy;
    }
    public void setBackspace(Long backspace) 
    {
        this.backspace = backspace;
    }

    public Long getBackspace() 
    {
        return backspace;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setNianji(Long nianji) 
    {
        this.nianji = nianji;
    }

    public Long getNianji() 
    {
        return nianji;
    }
    public void setBanji(Long banji) 
    {
        this.banji = banji;
    }

    public Long getBanji() 
    {
        return banji;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setTestTime(Long testTime) 
    {
        this.testTime = testTime;
    }

    public Long getTestTime() 
    {
        return testTime;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setExamName(String examName) 
    {
        this.examName = examName;
    }

    public String getExamName() 
    {
        return examName;
    }
    public void setJiaoyujuId(Long jiaoyujuId) 
    {
        this.jiaoyujuId = jiaoyujuId;
    }

    public Long getJiaoyujuId() 
    {
        return jiaoyujuId;
    }
    public void setJituanxiaoId(Long jituanxiaoId) 
    {
        this.jituanxiaoId = jituanxiaoId;
    }

    public Long getJituanxiaoId() 
    {
        return jituanxiaoId;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("leibie", getLeibie())
            .append("speed", getSpeed())
            .append("accuracy", getAccuracy())
            .append("backspace", getBackspace())
            .append("score", getScore())
            .append("nianji", getNianji())
            .append("banji", getBanji())
            .append("name", getName())
            .append("articleId", getArticleId())
            .append("title", getTitle())
            .append("createdTime", getCreatedTime())
            .append("testTime", getTestTime())
            .append("model", getModel())
            .append("examId", getExamId())
            .append("examName", getExamName())
            .append("jiaoyujuId", getJiaoyujuId())
            .append("jituanxiaoId", getJituanxiaoId())
            .append("schoolId", getSchoolId())
            .toString();
    }
}
